# SPDX-License-Identifier: GPL-2.0
obj-y				=  core.o severity.o genpool.o

obj-$(CONFIG_X86_ANCIENT_MCE)	+= winchip.o p5.o
obj-$(CONFIG_X86_MCE_INTEL)	+= intel.o
obj-$(CONFIG_X86_MCE_AMD)	+= amd.o
obj-$(CONFIG_X86_MCE_THRESHOLD) += threshold.o

mce-inject-y			:= inject.o
obj-$(CONFIG_X86_MCE_INJECT)	+= mce-inject.o

obj-$(CONFIG_ACPI_APEI)		+= apei.o

obj-$(CONFIG_X86_MCELOG_LEGACY)	+= dev-mcelog.o
obj-$(CONFIG_EULEROS_MCE_NOTIFY_BSP) += euleros_notify_bsp.o
obj-$(CONFIG_EULEROS_MULTIBIT_ECC_CUSTOM_CHECK) += euleros_mce_custom_check.o
obj-$(CONFIG_EULEROS_ENHANCED_UCE_PATROL_SCRUB_ERROR) += euleros_mce_custom_handler.o
obj-$(CONFIG_EULEROS_CMCI_FREQUENCY_CONFIGURABLE) += euleros_cmci.o
